//
//  ViewController.m
//  drawHomeWork
//
//  Created by wukeng on 16/4/6.
//  Copyright © 2016年 wukeng. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
}


//- (void)drawGraphics6
//{
//    CGContextRef ctx = UIGraphicsGetCurrentContext();
//    CGContextMoveToPoint(ctx, 50, 200);
//    CGContextAddQuadCurveToPoint(ctx, 150, 250, 250, 200);// 控制点的xy 终点的xy
//    [[UIColor redColor] setStroke];
//    [[UIColor redColor] setFill];
//    //    CGContextStrokePath(ctx);// 绘制线
//    CGContextClosePath(ctx);//封闭路径
//    CGContextFillPath(ctx);// 绘制填充
//    
//}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
